<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\UserFaceFailedLog
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property int $type 失败类型:1识别失败 2比对失败
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\UserFaceFailedLog whereUserId($value)
 * @mixin \Eloquent
 */
class UserFaceFailedLog extends Model
{
    protected $fillable = [
        'user_id','type',
    ];

    /**
     * 识别失败类型
     */
    const TYPE_IDENTIFY_FAILED = 1;

    /**
     * 比对失败类型
     */
    const TYPE_COMPARE_FAILED = 2;
}
